import { Injectable } from '@nestjs/common';
import { AiFactory } from './factory/AiFactory';
@Injectable()
export class AppService {
  async createNewChat(modelName: string) {
    const ai = await new AiFactory(modelName).getAi();
    return ai.createNewChat();
  }
}
